Feat/revlogs#39
Conversation
Add revlog recording for flashcard reviews and backlog clearing via new stats API routes. Fix Eden Treaty input types resolving as `any` by installing @types/bun in the web app (elysiajs/eden#189) and pinning elysia to 1.4.27 to deduplicate the package. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Replace raw SQL queries and prepared statements with Drizzle's query builder for the clearBacklog generator. This gives us proper type inference on query results (e.g. direction is now correctly typed without manual casting). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The fuzzy tolerance was calculated from the raw input length, but Orama applies it against stemmed tokens in the index. Arabic words that stem shorter (e.g. مهرجان→مهرج) got tolerance=2 on a 4-char stem, matching nearly everything. Also replaced exact:true with tolerance:0 since exact:true bypasses stemming on the query and never matched stemmed index tokens. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
sync-wasm doesn't support ON DELETE CASCADE, so flashcard rows were orphaned when a dictionary entry was deleted. This caused empty flashcards to appear in the review queue until the next remote sync. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
bahar-marketing | 26f749c | Commit Preview URL | Apr 01 2026, 11:59 PM |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
- ts-ignore Polar SDK deep import that fails under Bundler moduleResolution - Add explicit return in userRateLimit middleware to satisfy noImplicitReturns - Cast response type in http-logger to access status property - Guard against undefined type in autofill mutation for add/edit routes Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Deploying bahar with
|
| Latest commit: |
2ae52e8
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://f58b8981.bahar-5xu.pages.dev |
| Branch Preview URL: | https://feat-revlogs.bahar-5xu.pages.dev |
No description provided.